package cn.snmp.mutual.uk.net;

import java.io.*;

public interface ContextSocketFace {
    String version_id = "@(#)$Id: ContextSocketFace.java,v 1.12 2006/02/09 14:30:19 birgit Exp $ Copyright Westhawk Ltd";

    void create(final int p0, final String p1) throws IOException;

    void create(final String p0, final int p1, final String p2) throws IOException;

    String getSendToHostAddress();

    String getReceivedFromHostAddress();

    String getLocalSocketAddress();

    String getRemoteSocketAddress();

    StreamPortItem receive(final int p0) throws IOException;

    void send(final byte[] p0) throws IOException;

    void close();
}
